﻿//*********************************************************************
//
//  文件名：IPaymentService
//
//  作者： LW
//
//  作用：
//
//  日期：2015/9/24 10:26:40
//
//*********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.ViewModels;
using Framework.Common.Paged;
using YouTravel.QueryModels;

namespace YouTravel.DomainService
{
    /// <summary>
    /// IPaymentService
    /// 付款管理
    /// </summary>
    public interface IPaymentService
    {
        CustomPagedList<PaymentViewModel> ApplyList(PagedParam<PaymentQuery> queryCond);
        PaymentApplyBeforeViewModel ApplyBeforeGet(int id);
        bool ApplyBeforeValidateDebts(int specialId);
        void ToApplyPayment(PaymentApplyViewModel model);
        PaymentDetailViewModel PaymentDetail(int id);

        CustomPagedList<PaymentViewModel> ManageList(PagedParam<PaymentQuery> queryCond);
        void ToConfirmPayment(PaymentConAbaViewModel model);
        void ToAbandonedPayment(PaymentConAbaViewModel model);
        void ToUpdatePrintViewNum(int id);
        PaymentPrintViewModel PrintDetail(int id, int operateUserId);
    }
}
